package com.torlesse.service.impl;

import com.torlesse.dao.UserMapper;
import com.torlesse.pojo.User;
import com.torlesse.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ：torlesse
 * @date ：Created in 16:28 2021/8/8 0008
 * @description ：
 * @version: 1.0
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User findByUid(Integer id) {
        return userMapper.selectById(id);
    }
}
